Skip to main content

ARDK for Android/com.nianticlabs.ardk.awareness.semantics/SemanticsSession/latestPackedChannel

latestPackedChannel

[androidJvm]
fun latestPackedChannel(): ARDKResult<SemanticsResult, AwarenessStatus>

Gets the latest packed channel semantics data.

This retrieves the most recent packed channel data for semantic classification of the current frame.

Return​

ARDKResult containing packed channel data if successful, or error information

See also​

SemanticsSession.channelNames
SemanticsSession.latestConfidence
SemanticsSession.latestSuppressionMask

Throws​

ArdkStatusExceptionif there was an internal error